package com.ruoyi.damage.service;

import java.util.List;
import com.ruoyi.damage.domain.AlgsEquipmentDamage;

/**
 * 器材损坏记录Service接口
 * 
 * @author ruoyi
 * @date 2023-03-20
 */
public interface IAlgsEquipmentDamageService 
{
    /**
     * 查询器材损坏记录
     * 
     * @param equipmentDamageId 器材损坏记录主键
     * @return 器材损坏记录
     */
    public AlgsEquipmentDamage selectAlgsEquipmentDamageByEquipmentDamageId(Long equipmentDamageId);

    /**
     * 查询器材损坏记录列表
     * 
     * @param algsEquipmentDamage 器材损坏记录
     * @return 器材损坏记录集合
     */
    public List<AlgsEquipmentDamage> selectAlgsEquipmentDamageList(AlgsEquipmentDamage algsEquipmentDamage);

    /**
     * 新增器材损坏记录
     * 
     * @param algsEquipmentDamage 器材损坏记录
     * @return 结果
     */
    public int insertAlgsEquipmentDamage(AlgsEquipmentDamage algsEquipmentDamage) throws Exception;

    /**
     * 修改器材损坏记录
     * 
     * @param algsEquipmentDamage 器材损坏记录
     * @return 结果
     */
    public int updateAlgsEquipmentDamage(AlgsEquipmentDamage algsEquipmentDamage);

    /**
     * 批量删除器材损坏记录
     * 
     * @param equipmentDamageIds 需要删除的器材损坏记录主键集合
     * @return 结果
     */
    public int deleteAlgsEquipmentDamageByEquipmentDamageIds(Long[] equipmentDamageIds);

    /**
     * 删除器材损坏记录信息
     * 
     * @param equipmentDamageId 器材损坏记录主键
     * @return 结果
     */
    public int deleteAlgsEquipmentDamageByEquipmentDamageId(Long equipmentDamageId);
}
